# -*- coding: utf-8 -*-
# @Time : 2024/4/3 18:52
# @Author : cute
# @Email : Aggressive_cute@126.com

import requests

def task(url):
    headers = {
        # "authority": "jcap.m.jd.com",
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "content-type": "application/x-www-form-urlencoded;charset=UTF-8",
        "origin": "https://cfe.m.jd.com",
        "pragma": "no-cache",
        "referer": "https://cfe.m.jd.com/",
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0; JuziBrowser) like Gecko"
    }
    cookies = {}
    si = 'BnP-qwACAAAAAFnDFncAMLgarIFiErAWVqdOcyA7UhEJXtpFSVuttcmA_N7J7CxfuuOq2VRWtB_3ykwXfK5afAAAAAA'

    data = {
        'si': si,
        'cookies': cookies,
        'headers': headers,
    }
    response = requests.post(url, json=data)
    print(response.json())


# url = "http://hr519mu67310.v0icp.fun/cute_api/jd_api/slide_v2"
url = "http://127.0.0.1:9888/cute_api/jd_api/slide_v2"
# url = "http://121.37.219.168:9888/cute_api/jd_api/slide_v2"
if __name__ == '__main__':
    while True:
        task(url)
